﻿using RakutenProxy.Model.Rakuten;
using System.Collections.Generic;

namespace RakutenProxy.AttributeParser
{
    public class Attribute
    {
        public int Id { get; set; }

        public string AttributeName { get; set; }

        public string HtmlName { get; set; }

        public List<AttributeValue> AttributeValues { get; set; }

        public ControlType ControlType { get; set; }

        public Attribute()
        {
            AttributeValues = new List<AttributeValue>();
            AttributeName = string.Empty;
            HtmlName = string.Empty;
        }
    }

    public class AttributeValue
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string FormControlName { get; set; }
        public string ActualValue { get; set; }
    }
}